{{ content() }}
<div id="main1">
    <div class="outer_profile">

        <div class="content_left">
            <div class="outterAva">
                <div class="boxAva">
                    <a href="">
                        <img height="48" src="{{url('public/img/bookprofile.jpg')}}" width="148"></a></div>
                <p style="text-align:center; color:#222">{{userfullname}}</p>                  
            </div>
            <div class="menuTT1">
                <a href="{{url('profile')}}">Thông tin cá nhân</a>
            </div>           
            <div class="menuTT2">
                <a href="{{url('downhistory')}}">Lịch sử Download</a>
            </div>
            <div class="menuTT2">
                <a href="{{url('uploadhistory')}}">Lịch sử Upload</a>
            </div>
            <div class="menuTT3">
                <a href="{{url('recharge')}}">Nạp tiền</a>
            </div>
            <div class="menuTT3">
                <a href="{{url('exchange')}}">Lịch sử giao dịch</a>
            </div>            
        </div>
        <div class="content_right">
            {{form('class':'edituserform')}}
            
            <div class="AccountInfo">
                <p class="userinfo">
                    Thông tin cá nhân</p>
                {{form.messages('editprofile_info')}}  
                <div class="rowTT">
                    <span class="rowLeft">Tên đăng nhập</span> 
                    <span class="rowRight">
                        <label>{{form.render('username',['disabled':'true'])}}</label>
                    </span>
                </div>
                <div class="rowTT">
                    <span class="rowLeft">Email</span> <span class="rowRight">
                        <label>{{form.render('email',['disabled':'true'])}}</label>
                    </span>
                </div>
                <div class="rowTT">
                    <span class="rowLeft">Họ tên</span> 
                    <span class="rowRight">
                        {{form.render('fullName')}}<br>
                        {{form.messages('fullName')}}
                    </span>

                </div>
                <div class="rowTT">
                    <span class="rowLeft">Địa chỉ</span> <span class="rowRight">
                        {{form.render('address')}}
                        {{form.messages('address')}}
                    </span>
                </div>
                <div class="rowTT">
                    <span class="rowLeft">Mật khẩu</span> <span class="rowRight change_pass"><a href="{{url('changepass')}}">
                            Thay đổi mật khẩu ?</a> </span>
                </div>

                <div class="rowTT">
                    <span class="rowLeft"></span>
                    <span class="rowRight uploadImage saveChange">
                        <input type="submit" value="Lưu thay đổi" style="width :100px;cursor: pointer">                        
                    </span>
                </div>
            </div>
            {{ form.render('csrf', ['value': security.getToken()]) }}
            {{endform()}}
        </div>

    </div>